<#import "/macro.ftl" as m>
<@m.page_header title='后台' />
<div id="page-content-wrapper">

<div id="page-title">

    <h3>
    	支付网关设置
    </h3>
</div>
<div class="pad10A">
<form id="demo-form1" action="/setting/paygate/update" class="col-md-12" method="POST">
    <div class="form-row">
        <div class="form-label col-md-2">
            <label for="">
               支付网关选择:
            </label>
        </div>
        <div class="form-input col-md-3">
        	<select name="paygate">
        		<option value="llpay" <#if param.value=='llpay'>selected</#if>>连连支付</option>
        		<option value="upop" <#if param.value=='upop'>selected</#if>>银联支付</option>
        		<option value="cpsfj" <#if param.value=='cpsfj'>selected</#if>>银联收付捷支付</option>
        	</select>
        </div>
    </div>
    <div class="divider"></div>
    <div class="form-row">
        <input type="hidden" name="superhidden" id="superhidden">
       <div class="form-input col-md-10 col-md-offset-2">
                    <a href="javascript:;" class="btn medium primary-bg radius-all-4 col-md-2" id="demo-form-2-valid">修改</a>
        </div>
    </div>   

</form>
</div>
<!--
<form action="" method="POST">
    <p>:<input name="name" /></p>
    <p>:<input name="term" />天</p>
    <p>:<input name="interestRate" />%</p>
    <p>:<input name="bonusRate" />%</p>
    <p>:<input name="valueDate" /></p>
    <p>:<input name="totalAmount" /></p>
    <p>:<input name="startTime" /></p>
    <p>:<input name="endTime" /></p>
    <p>:<input name="riskLevel" /></p>
    <p>:<input name="description" /></p>
    <p><input type="submit" value="提交" /></p>
</form>
-->

</div>
<script>
$(function(){
	<#if msg!=null>
	$.jGrowl("${msg}", { position:"bottom-right",theme: "ui-state-default"});
	</#if>
    $("#demo-form-2-valid").click(function(){
   
    	$('#demo-form1').trigger('submit');
    });
    
})
</script>